// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import VueRouter from 'vue-router'
import routers from '../src/router/router'
import App from '../src/App'
import { setupCalendar, Calendar} from 'v-calendar'

Vue.config.productionTip = false
// Remember to setup calendar (passing in defaults if needed)
setupCalendar({
  firstDayOfWeek: 2,  // Monday,        // ...other defaults
});

// Register component(s)
Vue.component('v-calendar', Calendar);
Vue.use(VueRouter)
const router = new VueRouter({
  routes: routers,
  mode:"history"
})
/* eslint-disable no-new */
 new Vue({
  el: '#app',
  router,
})
